package com.aorise.service.order;

import com.aorise.model.order.WorkOrderAddVO;
import com.aorise.model.order.WorkOrderModel;
import com.aorise.service.system.BaseService;
import com.aorise.utils.page.Page;

import java.util.List;
import java.util.Map;

/**
 * @Author:psl
 * @Desicription: 运维工单信息接口服务类
 * @Date:Created in  2019-06-03.
 * @Modified By:
 */
public interface WorkOrderService extends BaseService {

    /**
     * @Author:cat
     * @Description 新增运维工单信息
     * @params: WorkOrderModel 运维工单信息
     * @Date:2019-05-27
     * @Return: Integer 主键
     * @Modified By:
     */
    Integer addWorkOrder(WorkOrderAddVO workOrderAddVO);

    /**
     * @Author:psl
     * @Description 分页查询运维工单信息
     * @params: map 查询条件Map
     * @Date:2019-06-03
     * @Return: List<WorkOrderModel> 点运维工单集合
     * @Modified By:
     */
    List<WorkOrderModel> getAllWorkOrderListByPage(Map<String, Object> map, Page page);

}
